home *** CD-ROM | disk | FTP | other *** search
- global gRoot
-
- on startMovie
- if the machineType = 256 then
- set the picture of cast 60 to the picture of cast 67
- end if
- set the keyDownScript to "homeHandler"
- set the timeoutScript to "timeOut1"
- set the timeoutLength to 60 * 10
- sound stop 1
- sound stop 2
- sound stop 3
- sound stop 4
- set the volume of sound 1 to 255
- set the volume of sound 2 to 255
- set the volume of sound 3 to 255
- set the volume of sound 4 to 255
- end
-
- on homeHandler
- if the key = " " then
- set the timeoutScript to EMPTY
- go(1, gRoot & "home.dir")
- end if
- end
-
- on mouseUp
- if the frame >= label("page1(auto)") then
- return
- end if
- if not rollOver(1) then
- set the timeoutScript to EMPTY
- go(1, gRoot & "home.dir")
- end if
- end
-
- on timeOut1
- go("auto")
- set the timeoutScript to "timeOut2"
- set the timeoutLength to 5
- end
-
- on timeOut2
- if the lastRoll <= 6 then
- go("main")
- sound stop 1
- set the timeoutLapsed to 0
- set the timeoutScript to "timeout1"
- set the timeoutLength to 60 * 30
- cursor(-1)
- end if
- end
-